<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.net.http.HttpGet</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.net.http.HttpGet";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.net.http.HttpGet.html" class="symbol">tango.net.http.HttpGet</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: January 2006
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">class <a class="symbol _class" name="HttpGet" href="./htmlsrc/tango.net.http.HttpGet.html#L36" kind="class" beg="36" end="83">HttpGet</a> : HttpClient; <a title="Permalink to this symbol" href="#HttpGet" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.HttpGet.html#L36">#</a></dt>
<dd class="ddef">
<div class="summary">Supports the basic needs of a client making requests of an HTTP
        server. The following is a usage example:
        <pre class="d_code">
<span class="lc">// open a web-page for reading (see HttpPost for writing)</span>
<span class="k">auto</span> <span class="i">page</span> = <span class="k">new</span> <span class="i">HttpGet</span> (<span class="sl">"http://www.digitalmars.com/d/intro.html"</span>);

<span class="lc">// retrieve and flush display content</span>
<span class="i">Cout</span> (<span class="k">cast</span>(<span class="k">char</span>[]) <span class="i">page</span>.<span class="i">read</span>) ();
</pre></div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="HttpGet.this" href="./htmlsrc/tango.net.http.HttpGet.html#L48" kind="ctor" beg="48" end="51">this</a><span class="params">(char[] <em>url</em>, uint <em>pageChunk</em> = 16 * 1024)</span>; <a title="Permalink to this symbol" href="#HttpGet.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.HttpGet.html#L48">#</a></dt>
<dd class="ddef">
<div class="summary">Create a client for the given URL. The argument should be
                fully qualified with an "http:" or "https:" scheme, or an
                explicit port should be provided.</div></dd>
<dt class="decl"><a class="symbol _ctor" name="HttpGet.this:2" href="./htmlsrc/tango.net.http.HttpGet.html#L61" kind="ctor" beg="61" end="65">this</a><span class="params">(Uri <em>uri</em>, uint <em>pageChunk</em> = 16 * 1024)</span>; <a title="Permalink to this symbol" href="#HttpGet.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.HttpGet.html#L61">#</a></dt>
<dd class="ddef">
<div class="summary">Create a client with the provided Uri instance. The Uri should 
                be fully qualified with an "http:" or "https:" scheme, or an
                explicit port should be provided.</div></dd>
<dt class="decl">void[] <a class="symbol _function" name="HttpGet.read" href="./htmlsrc/tango.net.http.HttpGet.html#L71" kind="function" beg="71" end="80">read</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#HttpGet.read" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.http.HttpGet.html#L71">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:56 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>